<script setup lang="ts">

const props = defineProps({
    currentScanFilePath: String,
    delFlag: Boolean
});

const tip = props.delFlag ? "" : "扫描中...";
const message = props.delFlag ? "正在删除" : "正在扫描";

</script>

<template>
    <a-row class="inputBar" type="flex" justify="start">
        <a-col flex="100px"></a-col>
        <a-col flex="auto">
            <a-spin class="load" :tip=tip>
                <a-alert class="dirList" :message=message :description="currentScanFilePath"></a-alert>
            </a-spin>
        </a-col>
        <a-col flex="300px"></a-col>
    </a-row>
</template>